home *** CD-ROM | disk | FTP | other *** search
- # Quick and dirty makefile for sky.
- # E. N. Miya, NASA Ames Research Center 3/84
- #
- # Files are in alphabetic order rather than solar system order.
- # Planets depend on the sky.h structure whereas planet tables can compile
- # without sky.h
- #
- # the next line is in keeping with documentation
- DESTDIR = /usr/games
- CFLAGS =
- STARLIB = /usr/lib
- MANLIB = /usr/man/man6
- PLANETS = aberr.o fmod.o geo.o helio.o jup.o main.o mars.o merc.o moon.o \
- nutate.o \
- output.o pdate.o sat.o star.o stars.o sun.o venus.o comet.c
- PTABLES = common.o jupt.o marst.o merct.o moont.o nutt.o sunt.o venust.o
-
- all : ${PLANETS} ${PTABLES}
- cc ${PLANETS} ${PTABLES} -o sky -lm
- ${PLANETS} : sky.h
- install :
- install -s sky ${DESTDIR}/sky
- # the next line is wired into the source which otherwise must be modified
- cp startab ${STARLIB}/startab
- cp sky.6 ${MANLIB}/sky.6
- cleanall : clean
- rm -f sky
- clean :
- rm -f *.o *.out
-